AC_PREREQ(2.59)

AC_INIT([autosln],[0.0.1],[http://autosln.googlecode.com])

AC_MSG_CHECKING([version])

PRJ_NAME=`cat version.conf|awk '{print $1}'`
PRJ_VERSION=`cat version.conf|awk '{print $2}'`

AC_MSG_RESULT([project name is $PRJ_NAME])
AC_MSG_RESULT([project version is $PRJ_VERSION])

AC_SUBST(PRJ_NAME)
AC_SUBST(PRJ_VERSION)

AC_MSG_CHECKING([debug])
AC_MSG_RESULT(debug is $OPT_DEBUG)
AC_SUBST(OPT_DEBUG)


AC_CONFIG_FILES([Makefile])

AC_OUTPUT

